package com.leiduoduo.oms.service;

import com.leiduoduo.oms.pojo.Boss;

import java.util.List;
import java.util.Map;

public interface BossService {
    boolean addBoss(Boss boss);
    boolean delBoss(Boss boss);
    boolean upBoss(Boss boss);
    boolean uptoken(Boss boss);
    Boss getBossByCode(String code);
    List<Boss> getBossList();
    Map<String, Object> getInByMonth(Map<String, Object> map);
    Map<String, Object> getInByYear(Map<String, Object> map);
    List<Map<String, Object>> getDishTop10(Map<String, Object> map);
}
